package cn.monkey.family.data.uc.role;

import cn.monkey.family.data.dict.Dict;
import lombok.Getter;

@Getter
public enum RoleType implements Dict {

    ADMIN("ADMIN", "admin"),
    USER("USER", "user"),
    ;

    public static final String MODULE = "role_type";

    private final String key;
    private final String module;
    private final String value;


    RoleType(String key, String value) {
        this.key = key;
        this.value = value;
        this.module = MODULE;
    }

    @Override
    public String getParentKey() {
        return null;
    }
}
